package team.seekers.hula.course.structure.section.entity.vo;

import lombok.*;
import team.seekers.hula.common.entity.BaseDTO;
import team.seekers.hula.course.resource.exam.entity.vo.ExamInfoVO;
import team.seekers.hula.course.resource.examSubmit.entity.dto.ExamRecordDTO;

import java.util.List;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SectionInfoVO extends BaseDTO {

    private String id;

    private String name;

    /**所属的课程id*/
    private String courseId;

    /**所属的章id*/
    private String chapterId;

    /**创建者的id*/
    private String userId;

    /**是否开放试学*/
    private Integer open;

    /**节顺序（第几节）*/
    private Integer sequence;

    private Integer type;

    private String linkId;

    // 如果是富文本则直接放进content
    private String content;

    // 如果是测试(还得带上提交记录)
    private List<ExamRecordDTO> examRecords;

    private ExamInfoVO exam;
}
